<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    {if count($list) > 0}
    {foreach name="$list" item="vo"}
    <div class="form-group ajax-append">
        <div class="col-xs-12 col-sm-12">
            <div class="panel panel-info">
                <div class="panel-heading">{$vo.name}</div>
                <div class="panel-body">
                    总库存：【{$vo.total}】
                </div>
            </div>
        </div>
    </div>
    {/foreach}
    {else/}
    【暂无库存】
    {/if}
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
